package com.jxd.service;

import com.jxd.entity.MesHead;
import com.jxd.model.FaultType;
import com.jxd.model.SwitchCover;
import org.apache.hadoop.hbase.client.Connection;

import java.util.List;

/**
 * @author  ZhaoyuZhang
 * @date 2020/07/27
 * 故障信息的接口类
 */
public interface FaultTypeService {
/**
 * 获取所有的"61632","53296","57392","49376"的报文
 * F0C0 DOCO E030 C0E0
 * 获取所有的维护反馈报文
 */
   List<MesHead> getFeedbackMess(String filename,String shipid ,String mesid1);
/**
 * 获取相应的错误个数及错误代码
 */

List<FaultType> getFaultTypes(List<MesHead> feedbackMess, String tableName, Connection connection);
/**
 * 回写至oracle
 */
void insertFaultType(List<FaultType> faultTypes, String sbid,String ssdqid,String sysUserdate);

}
